package org.openzip.openzip.gui.util;

import java.io.File;

import javax.swing.JComponent;

/**
 * Interface representing a panel for file choosing.
 */
public interface IFilePanel 
{	
	/**
	 * Returns the panel itself as a instance of <code>JComponent</code>.
	 */
	public JComponent getJComponent();
	
	/**
	 * Returns the selected file.
	 */
	public File getFile();	
}
